/**
 * author      : dormi330
 * date        : 2018/6/24
 * project     : mybatis
 * description : 交易聚合接口定义
 */

package com.deep.trade.order.query;

import com.github.pagehelper.PageInfo;

public interface TradeQueryApi {

    // 获取用户的订单列表 done
    PageInfo<OutDtoOrderSummary> orderSummaryOfMember(String tenantCode, String memberId, int pageNum, int pageSize) throws Exception;

    // 分页获取 某个租户对所有 订单
    PageInfo<OutDtoTradeOrder> tradeOrderListOfTenant(String tenantCode, int pageNum, int pageSize) throws Exception;

    // 获取用户的订单列表 done
    PageInfo<OutDtoTradeOrder> tradeOrderListOfMember(String tenantCode, String memberId, int pageNum, int pageSize) throws Exception;

    // 获取 tradeOrder 订单详情
    OutDtoOrderDetail tradeOrderDetail(String tenantCode, String tradeOrderId) throws Exception;

}
